package com.cc.blog.admin.config;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 自定义批量插入 Mapper
 * @author cc
 */
public interface InsertBatchMapper<T> extends BaseMapper<T> {

    /**
     * 批量插入
     * @param batchList
     * @return
     */
    int insertBatchSomeColumn(@Param("list") List<T> batchList);

}